//电影路由
export default{
    //页面请求uri
    path:'/movies',
    component:()=>import('@/views/movies/index'),
    //子路由 嵌套路由
    children:[
        {
            // /films/nowplaying
            path:'nowplaying',
            component:()=>import('@/views/movies/nowplaying')
        },
        {
            // /films/nowplaying
            path:'comingsoon',
            component:()=>import('@/views/movies/comingnow')
        },
        {
            
            path:'/movies',
            redirect:'nowplaying'
        },
    ]
}